package TestSynchronized;

strictfp class Timer {
	private static int num = 0;
	public void add(String name){
		num++;
		try{
			Thread.sleep(1);
		}catch(InterruptedException e){}
		System.out.println(name+"你是第"+num+"个使用timer的线程");
	}
}
